Optimal. Leaf size=32 \[ -\frac{\cot (e+f x) \sqrt{b \tan ^2(e+f x)} \log (\cos (e+f x))}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0172923, antiderivative size = 32, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {3658, 3475} \[ -\frac{\cot (e+f x) \sqrt{b \tan ^2(e+f x)} \log (\cos (e+f x))}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3658
Rule 3475
Rubi steps
\begin{align*} \int \sqrt{b \tan ^2(e+f x)} \, dx &=\left (\cot (e+f x) \sqrt{b \tan ^2(e+f x)}\right ) \int \tan (e+f x) \, dx\\ &=-\frac{\cot (e+f x) \log (\cos (e+f x)) \sqrt{b \tan ^2(e+f x)}}{f}\\ \end{align*}
Mathematica [A] time = 0.0392099, size = 32, normalized size = 1. \[ -\frac{\cot (e+f x) \sqrt{b \tan ^2(e+f x)} \log (\cos (e+f x))}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.024, size = 37, normalized size = 1.2 \begin{align*}{\frac{\ln \left ( 1+ \left ( \tan \left ( fx+e \right ) \right ) ^{2} \right ) }{2\,f\tan \left ( fx+e \right ) }\sqrt{b \left ( \tan \left ( fx+e \right ) \right ) ^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.63487, size = 26, normalized size = 0.81 \begin{align*} \frac{\sqrt{b} \log \left (\tan \left (f x + e\right )^{2} + 1\right )}{2 \, f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.9592, size = 100, normalized size = 3.12 \begin{align*} -\frac{\sqrt{b \tan \left (f x + e\right )^{2}} \log \left (\frac{1}{\tan \left (f x + e\right )^{2} + 1}\right )}{2 \, f \tan \left (f x + e\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \tan ^{2}{\left (e + f x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.25947, size = 38, normalized size = 1.19 \begin{align*} \frac{\sqrt{b} \log \left (\tan \left (f x + e\right )^{2} + 1\right ) \mathrm{sgn}\left (\tan \left (f x + e\right )\right )}{2 \, f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]